Electronic Device Charging Via an Audio Jack

ABSTRACT

An electronic device may comprise audio processing circuitry and a first connector having a first contact and a second contact. In a first mode of operation, the audio processing circuitry is configured to output one or more audio signals carrying music and/or voice via the first contact and the second contact. In a second mode of operation, the audio processing circuitry is configured to output a signal for delivering supply current via the first contact and the second contact. While the electronic device is in the first mode of operation, a gain and/or volume limit of the audio processing circuitry may be set to a first level, and while the electronic device is in the second mode of operation, the gain and/or volume limit of the audio processing circuitry may be set to a second level that is higher than the first level.

PRIORITY CLAIM

This application is a continuation of U.S. application Ser. No.14/445,510, which claims the benefit of priority of U.S. provisionalpatent application 61/894,657 titled “Electronic Device Charging via anAudio Jack” filed on Oct. 23, 2013.

TECHNICAL FIELD

Aspects of the present application relate to electronic gaming. Morespecifically, to methods and systems for electronic device charging viaan audio jack.

BACKGROUND

Limitations and disadvantages of conventional approaches to electronicdevice charging will become apparent to one of skill in the art, throughcomparison of such approaches with some aspects of the present methodand system set forth in the remainder of this disclosure with referenceto the drawings.

BRIEF SUMMARY

Methods and systems are provided for electronic device charging via anaudio jack, substantially as illustrated by and/or described inconnection with at least one of the figures, as set forth morecompletely in the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a block diagram of a device that is operable to outputsupply current via the same contacts that it uses to output audiosignals.

FIGS. 2A-2D depict block diagrams of example peripheral devicesconfigured for receiving supply current via an audio jack of a hostdevice.

FIG. 3A-3C depict example peripheral devices being powered and/orcharged via an audio jack of a host device.

FIG. 4 is a flowchart illustrating an example process for poweringand/or charging a peripheral device via an audio jack of a host device.

FIGS. 5A and 5B depict example graphical user interfaces of a hostdevice operable to output supply current via the same contacts on whichit outputs audio signals.

FIG. 6 depicts an example voltage or current waveform.

DETAILED DESCRIPTION

As utilized herein the terms “circuits” and “circuitry” refer tophysical electronic components (i.e. hardware) and any software and/orfirmware (“code”) which may configure the hardware, be executed by thehardware, and or otherwise be associated with the hardware. As usedherein, for example, a particular processor and memory may comprise afirst “circuit” when executing a first one or more lines of code andcomprise a second “circuit” when executing a second one or more lines ofcode. As utilized herein, “and/or” means any one or more of the items inthe list joined by “and/or”. As an example, “x and/or y” means anyelement of the three-element set {(x), (y), (x, y)}. As another example,“x, y, and/or z” means any element of the seven-element set {(x), (y),(z), (x, y), (x, z), (y, z), (x, y, z)}. As utilized herein, the terms“e.g.,” and “for example” set off lists of one or more non-limitingexamples, instances, or illustrations. As utilized herein, circuitry is“operable” to perform a function whenever the circuitry comprises thenecessary hardware and code (if any is necessary) to perform thefunction, regardless of whether performance of the function is disabled,or not enabled, by some user-configurable setting.

FIG. 1 depicts a block diagram of a device that is operable to outputsupply current via the same pins that it uses to output audio signals.The example electronic device 100 comprises an application processor102, memory subsystem 104, a cellular/GPS networking subsystem 106,sensors 108, power management subsystem 110, LAN subsystem 112, busadaptor 114, user interface subsystem 116, and audio processingcircuitry 118.

The application processor 102 comprises circuitry operable to executeinstructions for controlling/coordinating the overall operation of thedevice 100 as well as graphics processing functions of the multi-purposedevice 100. Such instructions may be part of an operating system of thedevice 100 and/or part of one or more software applications running onthe device 100.

The memory subsystem 104 comprises volatile memory for storing runtimedata, nonvolatile memory for mass storage and long-term storage, and/ora memory controller which controls reads writes to memory.

The cellular/GPS networking subsystem 106 comprises circuitry operableto perform baseband processing and analog/RF processing for transmissionand reception of cellular and GPS signals.

The sensors 108 comprise, for example, a camera, a gyroscope, anaccelerometer, a biometric sensor, and/or the like.

The power management subsystem 110 comprises circuitry operable tomanage distribution of power among the various components of themulti-purpose device 100.

The LAN subsystem 112 comprises circuitry operable to perform basebandprocessing and analog/RF processing for transmission and reception ofwired, optical, and/or wireless signals (e.g., Wi-Fi, Wi-Fi Direct,Bluetooth, Ethernet, and/or the like).

The bus adaptor 114 comprises circuitry for interfacing one or moreinternal data busses of the device 100 with an external bus (e.g., aUniversal Serial Bus) for transferring data to/from the device 100 via awired connection.

The user interface subsystem 116 comprises circuitry operable to controland relay signals to/from a touchscreen, hard buttons, and/or otherinput devices of the device 100.

The connector 129 comprises contacts 124, 126, and 128. In the exampleimplementation depicted, the connector is a tip-ring-sleeve (TRS) phonesocket. When a TRS phone plug is mated with the connector 129, thecontact 126 makes conductive contact with the tip of the plug, thecontact 124 makes conductive contact with the ring of the plug, and thesleeve 128 makes contact with the sleeve of the plug. In other exampleimplementations, the connector 129 may be a phone plug rather than aphone socket. In other example implementations, the connector 129 may bea tip-sleeve (TS) or tip-ring-ring-sleeve (TRRS) phone connector. Inother example implementations, the connector 129 may a form factor otherthan a phone connector (e.g., USB, Ethernet, HDMI, and/or the like).

The audio processing circuitry 118 comprises digital audio processor130, digital-to-analog converters (DACs) 120 a and 120 b, andamplifiers/line drivers 122 a and 122 b. The digital audio processor 130comprises circuitry operable to process digital audio signals (e.g.,.wav files, .mp3 files, and/or the like). The processing performed bythe digital audio processor 130 may comprise, for example, compression,decompression, encryption, decryption, resampling, equalization, etc.The digital audio processor 130 outputs signals 131 a and 131 b. Each ofthe DACs 120 a and 120 b comprises circuitry operable to convert arespective one of signals 131 a and 131 b to a respective one of analogsignals 121 a and 121 b. Each of the amps 122 a and 122 b comprisescircuitry operable to amplify a voltage and/or current of the signals121 a and 121 b to generate a respective one of signals 125 a and 125 bsuitable for driving a load (e.g., cabling and input circuitry aperipheral device) connected to the connector 129.

In a first mode of operation, one (for mono) or both (for stereo) of thesignals 131 a and 131 b may be an audio signal (e.g., carrying musicand/or voice) (e.g., signal 131 a may carry left channel audio andsignal 131 b may carry right channel audio). In the first mode, the DACs120 a and 120 b and amps 122 a and 122 b may generate signals compatiblewith speakers (e.g., headphones) that are intended to be paired with thedevice 100. The compatibility may be ensured by, for example,controlling a gain and/or amplitude limit of the amps 122 a and 122 band/or DACs 120 a and 120 b such that characteristics (e.g., peakcurrent, peak voltage, peak power, RMS current, RMS voltage, RMS power,and/or the like) of the signals 125 a and 125 b are maintained withinlimits tolerated by the speakers.

In a second mode of operation, one or both of the signals 131 a and 131b may be a signal (e.g., a sine wave) for conveying supply current to aperipheral device connected to connector 129. In the second mode, theDACs 120 a and 120 b and amps 122 a and 122 b may generate signals thatmay be incompatible with speakers (e.g., headphones) with which thedevice 100 is intended to be paired. The incompatibility may be theresult of a gain and/or amplitude limit of the amps 122 a and 122 band/or DACs 120 a and 120 b being higher than tolerated by the speakers.The higher gain and/or amplitude limit may increase the rate and/orefficiency of supply current delivery. This increase may result insignal characteristics (e.g., peak current, peak voltage, peak power,RMS current, RMS voltage, RMS power, and/or the like) that could damagethe speakers. In an example implementation, frequency content of thesignal for conveying supply current may be outside the audio band (e.g.,it may be a sine wave of frequency higher than 20 KHz).

An example voltage or current waveform of signal 125 a during both Mode1 and Mode 2 is shown in FIG. 6. While in mode 1, the signal 125 a islimited between Mode1MaxPos and Mode1MaxNeg. While in mode 2, the signal125 a is limited between Mode2MaxPos (corresponding to a larger signalamplitude than Mode1MaxPos) and Mode2MaxNeg (corresponding to a largersignal amplitude than Mode1MaxNeg).

Now referring to FIG. 2A, there is shown a first example peripheraldevice 200 comprising power management circuitry 202, audio processingcircuitry 204, radio 206, speaker 208, and connector 210. The peripheraldevice 200 of FIG. 2A may be, for example, a Bluetooth earpiece.

The connector 210 comprises contacts 212, 214, and 216. In the exampleimplementation depicted, the connector is a tip-ring-sleeve (TRS) phoneplug, where the contact 212 is the tip, contact 214 is the ring, andcontact 216 is the sleeve. When a TRS phone plug is mated with theconnector 129 of the device 100 (FIG. 1), the contact 126 makesconductive contact with the tip 212, the contact 124 makes conductivecontact with the ring 214, and the sleeve 128 makes contact with thesleeve 216. In other example implementations, the connector 210 may be aphone plug rather than a phone socket. In other example implementations,the connector 210 may be a tip-sleeve (TS) or tip-ring-ring-sleeve(TRRS) phone connector. In other example implementations, the connector210 may have a form factor other than a phone connector (e.g., USB,Ethernet, HDMI, and/or the like).

The power management circuitry 202 is operable to rectify, regulate,and/or otherwise condition current received via the connector for usingthe current to charge a battery of the device 200 and/or provide supplycurrent to the radio 206, and the audio processing circuitry 204. Thesupply current is depicted as being delivered via a single power raillabeled as “Vdd”. In other example implementations, multiple power railsat multiple voltages may be generated for delivering the supply current.

The audio processing circuitry 204 is operable to perform digital andanalog processing of audio signals received via the radio 206 and outputthe audio signals to the speaker 208.

The radio 206 comprises circuitry operable to communicate wirelesslywith another device (e.g., with LAN circuitry 112 of device 100) toreceive digital audio signals which it may output to the audioprocessing circuitry 204. The wireless communications may be inaccordance with, for example, Wi-Fi, Wi-Fi Direct, Bluetooth, and/oranother standard.

The speaker 208 is operable to convert electrical signals received fromaudio processing circuitry 204 into acoustic waves.

Now referring to FIG. 2B there is shown a second example peripheraldevice 200 comprising power management circuitry 222, audio processingcircuitry 224, and speakers 208 a and 208 b.

Each of the speakers 208 a and 208 b is operable to convert electricalsignals received from audio processing circuitry 204 into acousticwaves. In an example implementation, left channel audio may be deliveredto speaker 208 a and right channel audio may be delivered to speaker 208b.

The power management circuitry 222 is operable to rectify, regulate,and/or otherwise condition current received via the connector for usingthe current to charge a battery of the device 200 and/or provide supplycurrent to the audio processing circuitry 224. The supply current isdepicted as being delivered via a single power rail labeled as “Vdd”. Inother example implementations, multiple power rails at multiple voltagesmay be generated for delivering the supply current.

In an example implementation, the power management circuitry 222 mayalso be operable to detect, for each of the signals received viaconnector 210, whether the signal is a signal for delivering supplycurrent or is an audio signal (e.g., carrying music and/or voice), andto configure itself/operate accordingly. In such an exampleimplementation, if a signal is an audio signal, the power managementcircuitry 222 may disable a portion of its circuitry that harvests powerfrom the signal. If neither of the signals is a signal for deliveringsupply current, the power management circuitry 222 may configure itselfto rely on battery power. Conversely, in such an implementation, if asignal is a signal for delivering supply current, the power managementcircuitry 222 may enable a portion of its circuitry that harvests powerfrom the signal and may use that power to supply the audio processingcircuitry 224 and/or charge its battery.

The audio processing circuitry 224 is operable to perform digital andanalog processing of audio signals received via the connector 210 andoutput the audio signals to the speaker 208.

In an example implementation, the audio processing circuitry 224 mayalso be operable to detect, for each signal received via connector 210,whether the signal is a signal for delivering supply current or is anaudio signal (e.g., carrying audio and/or voice), and to configureitself/operate accordingly. In such an example implementation, if thesignal is a signal for delivering supply current, the audio processingcircuitry 224 may disable a portion of its circuitry that receives thesignal and processes it for output to one or both of the speakers 208 aand 208 b. Conversely, in such an example implementation, if the signalis an audio signal, the audio processing circuitry 224 may enable aportion of its circuitry that receives the audio signal and processes itfor output to one or both of the speakers 208 a and 208 b. Where neitherof the signals received via connector 210 is an audio signal, the audioprocessing circuitry 224 may go into a power saving mode until an audiosignal is detected.

Now referring to FIG. 2C, as a third example peripheral device 200,there is shown a stylus for use with a touchscreen of electronic device100. The stylus comprises power management circuitry 202, styluscircuitry 226, and tip 228. The power management circuitry 202 may be asdescribed above, for example, and may provide supply current to thestylus circuitry 226. The stylus circuitry 226 may operate to, forexample, increase a capacitance between a user of the stylus and thetouchscreen such that the screen can be interacted with when the tip isonly near, and not necessarily touching, the touchscreen.

Now referring to FIG. 2D, as a fourth example peripheral device 200,there is shown an input/output device (e.g., mouse, keyboard, or thelike) for use with electronic device 100. The device 200 of FIG. 2Dcomprises power management circuitry 202, I/O circuitry 230, and radio206. The radio 206 may be as described above, for example. The powermanagement circuitry 202 may be as described above and may providesupply current to the circuitry 230 and radio 206. The user I/Ocircuitry 230 may comprise, for example, circuitry to generate signalsin response to user interaction with the device 200 (e.g., circuitry togenerate signals in response to presses of keys of the device 200, inresponse to movement of the device 200, etc.). The signals may beconveyed to the radio 206 which may relay them to the device 100.

FIGS. 3A-3C depict example peripheral devices being powered and/orcharged via an audio jack of a host device. In FIG. 3A, the device 200(e.g., Bluetooth earpiece) rests on the top of the device 100 while itsconnector 210 is mated with the connector 129 of the device 100. In FIG.3A, the device 200 (e.g., stylus) rests alongside the device 100 whileits connector 210 is mated with the connector 129 of the device 100. InFIG. 3C, the device 200 (e.g., a keyboard) rests beneath and/or in frontof the device 100 while its connector 210 is mated with the connector129 of the device 100 (e.g., the device 200 may also serve as a standfor the device 200 while the two are mated). In the exampleimplementations of FIGS. 3A-3C, a case (either the primary case or anafter-market case) of the device 100 may provide a cavity or othermechanism for securely retaining the device 200 to the device 100 whilethe two are mated via connectors 210 and 129.

FIG. 4 is a flowchart illustrating an example process for poweringand/or charging a peripheral device via an audio jack of a host device.The process begins with block 402 in which host device 100 is poweredup. In block 404, a peripheral device 200 is connected to device 100 viathe connector 129. In block 406, the device 100 determines whether tooutput a power supply signal via the connector 129.

In an example implementation, the determination of block 406 may bebased on user input. For example, upon detecting a peripheral device hasbeen connected to the device 100, the device 100 may present a graphicaluser interface element that, when interacted with by a user, enablesoutput of a power supply signal via the connector 129. Because such asignal may damage headphones or other devices which may also use theconnector 129, the device 100 may present a query such as shown bypossible answers Yes 502 and No 504 in FIG. 5A.

In an example implementation, the determination of block 406 may bebased on an automatic detection of whether the peripheral deviceconnected to the connector 129 is configured for receiving supply powervia the connector 129. Such an automatic detection may comprise, forexample, the device 100 starting with a power supply signal that is safefor headphones (or other devices that may use the connector 129) andmonitoring the current drawn via the connector 129 to determine whetherthe connected peripheral device can receive supply power via connector129. For example, if the current exceeds an amount expected forperipheral devices that do support power via connector 129, the device100 may determine that the attached device is not such a device. Asanother example, current draw profiles of known peripheral devices maybe stored locally and/or on a network and the device 100 may use ameasured current draw profile for the connected device 200 to identifythe connected device 200 and, thus, determine whether the connecteddevice 200 can receive supply power via the connector 129. Upondetecting that the connected device 200 supports charging, a query suchas shown by possible answers Yes 502 and No 504 in FIG. 5B may bepresented to confirm that the user desires to enable output of the powersupply signal via connector 129.

Still in block 406, if it is determined not to begin outputting a powersupply signal via the connector 129, then the process advances to block416.

In block 416, the device 100 is configured into a first mode ofoperation in which circuitry of the device 100 is configured foroutputting audio signals. This configuration may comprise, for example,setting a gain and/or volume limit of the audio processing circuitry118, and disabling circuitry for generating power supply signals foroutput via connector 129 (e.g., disabling an oscillator that isdedicated to generating power supply signals).

Returning to block 406, if it is determined to begin outputting a powersupply signal via connector 129, the process advances to block 408 inwhich circuitry of the device 100 is configured for outputting a powersupply signal. This configuration may comprise, for example, setting again and/or amplitude limit of the DACs 120 and/or amplifiers 122,and/or enabling circuitry dedicated for outputting a power supplysignal.

In block 410, the digital audio processor 130 generates a digitalversion of the power supply signal. In an example implementation, a PLLor digital frequency synthesizer may be enabled to generate a digitalsine wave output as signal 131 a, as signal 131 b, or as the differentbetween signals 131 a and 131 b. In another example implementation, asine wave stored as a .wav file may be read from memory and played on aloop by the digital audio processor 130 resulting in a digitized sinewave output as signal 131 a, as signal 131 b, or as the differentbetween signals 131 a and 131 b. The frequency of the sine wave may be afrequency that is selected based on the particular peripheral devicethat is to be charged/powered since different frequencies may result indifferent power delivery efficiency for different peripheral devices.

In block 412, the digital sine wave is converted to analog and amplifiedfor output via the connector 129.

In block 414, the peripheral device receives the signal and rectifies,regulates, and/or otherwise conditions it to generate a clean DC powerrail for delivering power to circuitry of the peripheral device 200and/or for charging a battery of the peripheral device 200.

In accordance with an example implementation of this disclosure, anelectronic device (e.g., 100) comprising audio processing circuitry(e.g., 118) and comprising a first connector (e.g., 129) having a firstcontact (e.g., a first one of 124, 126, and 129) and a second contact(e.g., a second one of 124, 126, and 129). In a first mode of operation,the audio processing circuitry is configured to output one or more audiosignals carrying music and/or voice via the first contact and the secondcontact. In a second mode of operation, the audio processing circuitryis configured to output a signal for delivering supply current via thefirst contact and the second contact. While the electronic device is inthe first mode of operation, a gain and/or volume limit of the audioprocessing circuitry may be set to a first level, and while theelectronic device is in the second mode of operation, the gain and/orvolume limit of the audio processing circuitry may be set to a secondlevel that is higher than the first level. The first level may be alevel determined to be compatible (e.g., levels and/or frequency willnot damage the headphones and/or levels and/or frequency are suitablefor listening by a person wearing the headphones) for headphones and thesecond level may be a level determined to be unsafe (e.g., levels and/orfrequency could damage the headphones and/or levels and/or frequency areunsuitable for listening by a person wearing the headphones) forheadphones. The signal for delivering the supply current may be a sinewave having a frequency higher than 20 kHz. The electronic device maycomprise circuitry operable to sense whether a peripheral deviceconnected to the first contact and the second contact is capable ofreceiving supply current via the first contact and the second contact.The circuitry operable to sense may be operable to monitor an amount ofcurrent output by the audio processing circuitry as an amplitude of thesignal for delivering supply current is ramped up, and determine whetherto transition to the first mode of operation based on the monitoredamount of current output by the audio processing circuitry. Theelectronic device may comprise a display and circuitry operable togenerate a graphical user interface (e.g., as shown in FIGS. 5A and 5B)querying a user of the electronic device as to whether to configure theelectronic device into the first mode of operation. The first connectormay be a tip-sleeve (TS), tip-ring-sleeve (TRS), or tip-ring-ring-sleeve(TRRS) phone socket. The peripheral device may comprise a battery, aspeaker (e.g., 208), and a second connector (e.g., 210) configured tomate with the first connector. When the first device is operating in thefirst mode, the peripheral device may be configured to charge itsbattery using the supply current received via the first contact and thesecond contact. When the first device is operating in the second mode,the peripheral device may be configured to receive the audio signals viathe first contact and the second contact and output the audio signalsvia the speaker. The second connector may be a tip-sleeve (TS),tip-ring-sleeve (TRS), or tip-ring-ring-sleeve (TRRS) phone plug.

The present method and/or system may be realized in hardware, software,or a combination of hardware and software. The present methods and/orsystems may be realized in a centralized fashion in at least onecomputing system, or in a distributed fashion where different elementsare spread across several interconnected computing systems. Any kind ofcomputing system or other apparatus adapted for carrying out the methodsdescribed herein is suited. A typical combination of hardware andsoftware may be a general-purpose computing system with a program orother code that, when being loaded and executed, controls the computingsystem such that it carries out the methods described herein. Anothertypical implementation may comprise an application specific integratedcircuit or chip. Some implementations may comprise a non-transitorymachine-readable (e.g., computer readable) medium (e.g., FLASH drive,optical disk, magnetic storage disk, or the like) having stored thereonone or more lines of code executable by a machine, thereby causing themachine to perform processes as described herein.

While the present method and/or system has been described with referenceto certain implementations, it will be understood by those skilled inthe art that various changes may be made and equivalents may besubstituted without departing from the scope of the present methodand/or system. In addition, many modifications may be made to adapt aparticular situation or material to the teachings of the presentdisclosure without departing from its scope. Therefore, it is intendedthat the present method and/or system not be limited to the particularimplementations disclosed, but that the present method and/or systemwill include all implementations falling within the scope of theappended claims.

What is claimed is:
 1. A system comprising: an electronic devicecomprising audio processing circuitry and comprising a first connectorhaving a first contact and a second contact, wherein: in a first mode ofoperation, said audio processing circuitry is configured to output oneor more audio signals carrying music and/or voice via said first contactand said second contact; and in a second mode of operation, said audioprocessing circuitry is configured to output a signal for deliveringsupply current via said first contact and said second contact; saidelectronic device comprises circuitry operable to: sense whether adevice connected to said first contact and said second contact iscapable of receiving supply current via said first contact and saidsecond contact; and determine whether to transition to said first modeof operation based on an amount of current output by said audioprocessing circuitry.
 2. The system of claim 1, wherein: while saidelectronic device is in said first mode of operation, a gain and/orvolume limit of said audio processing circuitry is set to a first level;and while said electronic device is in said second mode of operation,said gain and/or volume limit of said audio processing circuitry is setto a second level that is higher than said first level.
 3. The system ofclaim 2, wherein said first level is determined compatible withheadphones and said second level is determined incompatible withheadphones.
 4. The system of claim 1, wherein said signal for deliveringsaid supply current is a sine wave having a frequency higher than 20kHz.
 7. The system of claim 1, wherein said electronic device comprisesa display and circuitry operable to generate a graphical user interfacequerying a user of said electronic device as to whether to configuresaid electronic device into said first mode of operation.
 8. The systemof claim 1, wherein said first connector is a tip-sleeve (TS),tip-ring-sleeve (TRS), or tip-ring-ring-sleeve (TRRS) phone socket. 9.The system of claim 1 comprising a peripheral device that has a battery,a speaker, and a second connector configured to mate with said firstconnector, wherein the peripheral device is configured to: when saidelectronic device is operating in said second mode, charge said batteryusing said supply current received via said first contact and saidsecond contact; and when said electronic device is operating in saidfirst mode, receive said audio signals via said first contact and saidsecond contact and output said audio signals via said speaker.
 10. Thesystem of claim 9, wherein said second connector is a tip-sleeve (TS),tip-ring-sleeve (TRS), or tip-ring-ring-sleeve (TRRS) phone plug.
 11. Amethod comprising: performing by circuitry of an electronic device thatcomprises a first connector having a first contact and a second contact:while said circuitry is in a first mode of operation, outputting one ormore audio signals carrying music and/or voice are via said firstcontact and said second contact; and while said circuitry in a secondmode of operation, outputting a signal for delivering supply current viasaid first contact and said second contact; sensing whether a deviceconnected to said first contact and said second contact is capable ofreceiving supply current via said first contact and said second contact;and determining whether to transition to said first mode of operationbased on an amount of current output by said circuitry.
 12. The methodof claim 11, wherein: while said circuitry is in said first mode ofoperation, setting a gain and/or volume limit of said circuitry is to afirst level; and while said circuitry is in said second mode ofoperation, setting said gain and/or volume limit of said circuitry to asecond level that is higher than said first level.
 13. The method ofclaim 12, wherein said first level is determined compatible withheadphones and said second level is determined incompatible withheadphones.
 14. The method of claim 11, wherein said signal fordelivering said supply current is a sine wave having a frequency higherthan 20 kHz.
 17. The method of claim 11, wherein said electronic devicecomprises a display and said circuitry is operable to generate agraphical user interface on said display that queries a user of saidelectronic device as to whether to transition to said first mode ofoperation.
 18. The method of claim 11, wherein said first connector is atip-sleeve (TS), tip-ring-sleeve (TRS), or tip-ring-ring-sleeve (TRRS)phone socket.
 19. A system comprising: an electronic device comprisingaudio processing circuitry and comprising a first connector having afirst contact and a second contact, wherein: in a first mode ofoperation, said audio processing circuitry is configured to output oneor more audio signals carrying music and/or voice via said first contactand said second contact; and in a second mode of operation, said audioprocessing circuitry is configured to output a signal for deliveringsupply current via said first contact and said second contact; saidelectronic device comprises circuitry operable to: sense whether adevice connected to said first contact and said second contact iscapable of receiving supply current via said first contact and saidsecond contact; and determine whether to transition between said firstand second modes of operation based on an amount of current output bysaid audio processing circuitry.
 20. The system of claim 19, wherein:while said electronic device is in said first mode of operation, a gainand/or volume limit of said audio processing circuitry is set to a firstlevel; and while said electronic device is in said second mode ofoperation, said gain and/or volume limit of said audio processingcircuitry is set to a second level that is higher than said first level.